﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntoTheVoid.Models
{

    enum BtnStage { 
        None        = 0,
		Play        = 1,
		Update      = 2, 
        Updating    = 3,//检测游戏更新
    }

    enum ProgressStage
	{
        None = 0,
        DownLoad = 1,
        UnZip = 2,
        Finish = 3,
    }

    class BaseInfoContent
    {
        //当前游戏版本号
        private string version = "";

        //游戏开始阶段， 下载阶段， 下载完成，解压阶段， 解压完成， 清理文件， 清理文件完成
        private int stage = 0;

        //关闭游戏   1 表示直接关闭， 0表示最小化
        private int closeWindowSign = 0;

        //下载速度  0 表示无限制  
        private int downloadSpeed = 0;
		
       // 安装目录
        private string gameInstallPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Game");
       
        //开启是否启动
        private bool startupSign = false;

		public string Version { get => version; set => version = value; }
		public int Stage { get => stage; set => stage = value; }
		public int CloseWindowSign { get => closeWindowSign; set => closeWindowSign = value; }
		
        public int DownloadSpeed { get => downloadSpeed; set => downloadSpeed = value; }
		public string GameInstallPath { get => gameInstallPath; set => gameInstallPath = value; }
		public bool StartupSign { get => startupSign; set => startupSign = value; }
	}
}
